package nl.haemers.collections.interfaces 
{
	
	/**
	 * ...
	 * @author Jonathan Haemers
	 */
	public interface IIterator
	{
		/**
		 * Returns true if there's a next Node in the collection.
		 * @return
		 */
		function hasNext() : Boolean;
		
		/**
		 * Returns the next object.
		 * @return
		 */
		function next() : Object;
		
		/**
		 * Removes the Iterator from the collection.
		 */
		function remove() : void;
	}
	
}